/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmaster.businesslogic;

import java.util.Collection;
import ticketmaster.dao.CustomerDAO;
import ticketmaster.dao.DAOFactory;
import ticketmaster.dataobject.Customer;

/**
 *
 * @author Varadha
 */
public class CustomerController {

    public Collection<Customer> getAllCustomers()
    {
        CustomerDAO custDAO = DAOFactory.getInstance().getCustomerDAO();
        Customer cust = new Customer();
        return custDAO.getCustomersDO(cust);
    }
}
